home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-01-24 | 1.8 KB | 60 lines | [TEXT/MPS ] |
- ;
- ; File: CRMSerialDevices.a
- ;
- ; Contains: Communications Resource Manager Serial Device interfaces.
- ;
- ; Version: Technology: System 7.5
- ; Package: Universal Interfaces 2.2 in “MPW” on ETO #20
- ;
- ; Copyright: © 1984-1995 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Bugs?: If you find a problem with this file, use the Apple Bug Reporter
- ; stack. Include the file and version information (from above)
- ; in the problem description and send to:
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
-
- IF &TYPE('__CRMSERIALDEVICES__') = 'UNDEFINED' THEN
- __CRMSERIALDEVICES__ SET 1
-
-
- IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
- include 'Types.a'
- ENDIF
- ; include 'ConditionalMacros.a' ;
-
- ; for the crmDeviceType field of the CRMRec data structure
- crmSerialDevice EQU 1
- ; version of the CRMSerialRecord below
- curCRMSerRecVers EQU 1
-
- ; Maintains compatibility w/ apps & tools that expect an old style icon
- CRMIconRecord RECORD 0
- oldIcon ds.l 32 ; offset: $0 (0) ; ICN#
- oldMask ds.l 32 ; offset: $80 (128)
- theSuite ds.l 1 ; offset: $100 (256) ; Handle to an IconSuite
- reserved ds.l 1 ; offset: $104 (260)
- sizeof EQU * ; size: $108 (264)
- ENDR
-
- ; typedef struct CRMIconRecord CRMIconRecord
- ; typedef CRMIconRecord *CRMIconPtr, **CRMIconHandle
- CRMSerialRecord RECORD 0
- version ds.w 1 ; offset: $0 (0)
- inputDriverName ds.l 1 ; offset: $2 (2)
- outputDriverName ds.l 1 ; offset: $6 (6)
- name ds.l 1 ; offset: $A (10)
- deviceIcon ds.l 1 ; offset: $E (14)
- ratedSpeed ds.l 1 ; offset: $12 (18)
- maxSpeed ds.l 1 ; offset: $16 (22)
- reserved ds.l 1 ; offset: $1A (26)
- sizeof EQU * ; size: $1E (30)
- ENDR
-
- ; typedef struct CRMSerialRecord CRMSerialRecord
- ; typedef CRMSerialRecord *CRMSerialPtr
- ENDIF ; __CRMSERIALDEVICES__
-